<template>
    <div class="con">
        <div class="con-item">
          <div class="con-item-name">
              {{item.channel_info.name}}    
          </div>
          <div v-if="item.channel_info.type==3">
            <itemy v-for="(v,i) in item.list" :key="i" :v="v"></itemy>
          </div>
          <div v-else>
            <itemey v-for="(v,i) in item.list" :key="i" :v="v">
            </itemey>
          </div>
        </div>
    </div>
</template>

<script>
import itemy from "../conten/itemy.vue"
import itemey from "../conten/itemey.vue"
export default {
  components:{
    itemy,itemey
  },
  props:['item']
}
</script>

<style lang="scss">
.con {
  width: 100%;
  background-color: #eee;

  .con-item-name {
    font-size: 15px;
    border-left: 2px solid red;
    line-height: 40px;
    text-indent: 10px;
  }
}
</style>
